/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bankapp.controller;

import framework.controller.IController;
import framework.model.Factory;
import framework.model.FinancialCompany;
import java.awt.event.ActionEvent;

/**
 *
 * @author ThanhNguyen
 */
public class AddInterestController implements IController {

    @Override
    public void actionPerformed(ActionEvent e) {
        FinancialCompany financialCompany = Factory.getInstance().getFinancialCompany();
        financialCompany.addInterest();
        financialCompany.updateUI();
    }
}
